package com.wu.bean;

import java.util.Date;

/**
 * 评论表
 */
public class Comment {
    private  Integer id;
    private Integer reviewarticles;
    /**
     * 评论人
     */
    private Integer reviewers;
    private String comments;
    private Date time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getReviewarticles() {
        return reviewarticles;
    }

    public void setReviewarticles(Integer reviewarticles) {
        this.reviewarticles = reviewarticles;
    }

    public Integer getReviewers() {
        return reviewers;
    }

    public void setReviewers(Integer reviewers) {
        this.reviewers = reviewers;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }


    @Override
    public String toString() {
        return "Comment{" +
                "id=" + id +
                ", reviewarticles=" + reviewarticles +
                ", reviewers=" + reviewers +
                ", comments='" + comments + '\'' +
                ", time=" + time +
                '}';
    }

    public Comment() {
    }

    public Comment(Integer id, Integer reviewarticles, Integer reviewers, String comments, Date time) {
        this.id = id;
        this.reviewarticles = reviewarticles;
        this.reviewers = reviewers;
        this.comments = comments;
        this.time = time;
    }
}
